<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'."\n";?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc><?=config_item('base_url')?></loc>
</url>
<?php foreach ($data as $v): ?>
<url>
<loc><?=movie_url($v['id']);?></loc>
<lastmod><?=$v['update_time']?></lastmod>
</url>
<?php endforeach;?>
</urlset>
